CRPEJob::SetEventCallback

Use CRPEJob::SetEventCallback to set event callback information for a job. The Crystal Reports Engine can determine when certain events have happened or are about to happen and provide notice so that appropriate response can be made.

Syntax
BOOL SetEventCallback (
        BOOL ( CALLBACK * callbackProc )
                ( short eventID, void *param, void *userData ),
        void *userData );
Parameters

callbackProc

The CALLBACK procedure that will handle your Crystal Report Engine events. This should be a pointer to a standard Windows CALLBACK procedure. Refer to the Microsoft Windows SDK for information on creating CALLBACK procedures.

userData

Specifies a pointer to the information that you want to pass to the Event handling callback procedure. The pointer will be available in the user data member of callbackProc. This value can be 0.

Returns
Remarks

See the list of Event Id Constants. Also, for additional information, see the more detailed listing which follows PESetEventCallback.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com